#ifndef _H_X_LPATAB
#define _H_X_LPATAB

#include <QWidget>
#include <QPushButton>
#include <QLineEdit>
#include <QTextStream>
#include <QGroupBox>
#include <QLayout>
#include <QLabel>
#include <MediaObject>
#include <AudioOutput>
#include <SeekSlider>
#include "Basic.h"
#include "XLpa.h"

class XLpaTab : public QWidget {
	Q_OBJECT
	
	QString fileName;
	QLabel *fileLabel;
	QPushButton *openButton;

	QGroupBox *convertGroup;
	QLineEdit *outputEdit;
	QPushButton *convertButton;

	XLpa *lpa;
	
	void setupUI();
	
private slots:
	void openButtonClicked();
	void convertButtonClicked();
	
public:
	XLpaTab(QWidget *parent = 0);
};

#endif
